package cn.swust.designpatternlearningplatform.dao.sql;

import org.apache.ibatis.jdbc.SQL;

public class TopicOptionDaoSql {
    public String getTopicOptions(Integer topicId) {
        return new SQL() {
            {
                SELECT("option_name", "option_content", "option_path");
                FROM("topic_option");
                WHERE("topic_id=#{topicId}");
            }
        }.toString();
    }
}
